home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / program / swaga_c.zip / ANSI.SWG / 0011_How To Use THEDRAW.pas < prev    next >
Pascal/Delphi Source File  |  1993-05-28  |  633b  |  28 lines

  1. > Also does anyone know how to import TheDraw Files into a prg and get
  2. > them to show properly. Thanks.
  3.  
  4. Save the Files into Bin Format, then run BinOBJ on them. When you select a
  5. public name, remember that this will be the Procedure's name.
  6.  
  7. After that Write:
  8.  
  9. Procedure <public name>; External; {$L <objname>}
  10.  
  11. Walkthrough example:
  12.  
  13.  
  14. Saved File: Welcom.Bin
  15.  
  16. BinOBJ WELCOME WELCOME WELCOMESCREEN
  17.  
  18. In pascal:
  19.  
  20. Procedure WelcomeScreen; External; {$L WELCOME.OBJ}
  21.  
  22. In order to display, dump the Procedure to b800:0 -
  23.  
  24. Move(@WelcomeScreen,Mem[$B800:0],4000];
  25.  
  26. 4000 is the size For 80x25. The size is x*y*2.
  27.  
  28.